package com.todo.partner.application.frontend.service;


import com.todo.common.common.entity.response.BizPageResponse;
import com.todo.common.common.entity.response.BizResponse;
import com.todo.partner.iface.frontend.request.*;
import com.todo.partner.iface.frontend.response.ContentPartnerBaseVO;
import com.todo.partner.iface.frontend.response.ContentPartnerDetailVO;

/**
 * (ContentPartner)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:46
 */
public interface PartnerContentAggService {

    /**
     * 新增搭子内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> insertContentPartner(InsertContentPartnerParam param);

    /**
     * 修改搭子内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> updateContentPartnerById(UpdateContentPartnerByIdParam param);

    /**
     * 删除搭子内容
     *
     * @param param
     * @return
     */
    BizResponse<Boolean> removeContentPartnerById(RemoveContentPartnerByIdParam param);

    /**
     * 根据id查询搭子内容详情
     *
     * @param param
     * @return
     */
    BizResponse<ContentPartnerDetailVO> queryContentPartnerDetail(QueryContentPartnerDetailParam param);

    /**
     * 根据id查询搭子内容详情
     *
     * @param param
     * @return
     */
    BizPageResponse<ContentPartnerBaseVO> queryContentPartnerByPage(QueryContentPartnerByPageParam param);
}
